<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
    pageEncoding="ISO-8859-1"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Insert title here</title>
</head>
<body>
<%@ page import = "java.sql.*, java.util.*" %>
<% 
	boolean flag=(Boolean)request.getAttribute("flag");
	if(flag==true)
	{
		String buffer="<div id='conviction_history_details'>";
		//ArrayList <ConvictionHistory> al=(ArrayList<ConvictionHistory>)request.getAttribute("conHist");
		//if(al!=null)
		/* {
			buffer=buffer+"<table border=1 align=center><tr><th>Select</th><th>Conviction History Id</th><th>Date Of Conviction</th><th>Nature Of Conviction</th><th>Comments</th></tr>";
			for(ConvictionHistory conHist : al)
				{
					buffer=buffer+"<tr><td><input type=radio name=conId id=conId onclick=showConvictionHistoryDetails(this.value) value="+conHist.getConvictionHistoryId()+"></td><td>" + conHist.getConvictionHistoryId()+ "</td><td>" + conHist.getDateOfConviction()+ "</td><td>" + conHist.getNatureOfConviction() + "</td><td>" + conHist.getComments() + "</td></tr>";
				}
					buffer = buffer + "</table></div>";
					response.getWriter().println(buffer);
		} */
	}	
%>
</body>
</html>  